package top.whysu.rongcloud.dto.rongcloud.groups;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author whysu
 * @version 1.00.00
 * @description 申请加入群组
 * @copyright
 * @company
 * @date 2021-03-16 15:34
 */
public class GroupsJoinDTO {
    /**
     * 申请入群的用户账号
     */
    @NotBlank(message = "申请入群的账号不能为空！")
    private String toBeAddAccount;
    /**
     * 群id
     */
    @NotNull(message = "群组ID不能为空！")
    private BigDecimal groupId;

    public String getToBeAddAccount() {
        return toBeAddAccount;
    }

    public void setToBeAddAccount(String toBeAddAccount) {
        this.toBeAddAccount = toBeAddAccount;
    }

    public BigDecimal getGroupId() {
        return groupId;
    }

    public void setGroupId(BigDecimal groupId) {
        this.groupId = groupId;
    }
}